package com.coffee.dao;


import com.coffee.entity.Cart;
import com.coffee.entity.Cart1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CartDaoMapper {
    List<Cart> findAllCart(@Param("uid") Integer uid);
    Cart findByIdCart(Integer coid,Integer uid);
    Integer insertCart(Cart cart1);
    Integer updateCart(Cart cart1);
    Integer deleteCart(Integer caid,Integer uid);
    Integer deleteAll(Integer uid);
    List<Cart1> findAllCart1(@Param("uid") Integer uid);
}
